/**
 * 从业状况
 */
$(function() {
	$.ajax({
		url:"/DataTable/selectWork",
		type:"post",
		dataType:"json",
		success:function(map){
			var work = map.work;
			var works = document.getElementById("workingcond");
			works.innerHTML = "<option value='0'>请选择</option>";
			for(var i = 0; i<work.length;i++){
				var opt=document.createElement("option");
				opt.innerText=work[i].name;
				opt.setAttribute("value",work[i].id);
				works.appendChild(opt);
				}
			}
		})
})